package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 充电宝对象 power_treasure
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class PowerTreasure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long treasureId;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private Long availableStatus;

    /** 是否出租 */
    @Excel(name = "是否出租")
    private Long rentalStatus;

    /** 站点 */
    @Excel(name = "站点")
    private Long stationId;
    @Excel(name = "站点名称")
    private String stationName;

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public void setTreasureId(Long treasureId)
    {
        this.treasureId = treasureId;
    }

    public Long getTreasureId() 
    {
        return treasureId;
    }

    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }

    public void setAvailableStatus(Long availableStatus) 
    {
        this.availableStatus = availableStatus;
    }

    public Long getAvailableStatus() 
    {
        return availableStatus;
    }

    public void setRentalStatus(Long rentalStatus) 
    {
        this.rentalStatus = rentalStatus;
    }

    public Long getRentalStatus() 
    {
        return rentalStatus;
    }

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("treasureId", getTreasureId())
            .append("serialNumber", getSerialNumber())
            .append("availableStatus", getAvailableStatus())
            .append("rentalStatus", getRentalStatus())
            .append("stationId", getStationId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
